1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 :
- * 설 명 :
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 : 이상소견 - LR ,
- 분류별검사결과 - DR
- 영상검사결과 - ARES
- 건강위험도 평가는 그때 그때
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>[자동판정]결과보기</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo/>
- <condition>
- <instcd/>
- <qrcl/>
- <wkdate/>
- <flag/>
- <inqrrptid/>
- <sexflag/>
- <rptclsf/>
- <healexamflag/>
- <rsrvdd/>
- <rsrvno/>
- <healexamdetlflag/>
- </condition>
- <amaw>
- <item>
- <sel/>
- <lastupdtdt/>
- <lastupdtrid/>
- <cnstcnts/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cnstclsf/>
- <cnstseq/>
- <pid/>
- </item>
- </amaw>
- <grade>
- <item>
- <lastupdtdt/>
- <lastupdtrid/>
- <cnstcnts/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cnstclsf/>
- <cnstseq/>
- <pid/>
- <dracptyn/>
- </item>
- </grade>
- <health>
- <item>
- <lastupdtdt/>
- <lastupdtrid/>
- <dracptyn/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cnstclsf/>
- <cnstseq/>
- <cnstcnts/>
- <pid/>
- </item>
- </health>
- <recommedlist>
- <item>
- <cnstcnts/>
- <lastupdtdt/>
- <lastupdtrid/>
- <dracptyn/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cnstclsf/>
- <cnstseq/>
- <pid/>
- </item>
- </recommedlist>
- <ajlrlist>
- <item/>
- </ajlrlist>
- <resultlist>
- <item>
- <prntyn/>
- <mixno/>
- <cmt/>
- <updtnm/>
- <drfindings/>
- <updtyn/>
- <diagcd/>
- <drstmt/>
- <futerm/>
- <drreqdeptcd/>
- <rsrvdd/>
- <rsrvno/>
- <instcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <insseq/>
- <pid/>
- <updtid/>
- <seqno/>
- <ajclscd1/>
- <ajclscd2/>
- <ajclscd3/>
- <tretdd/>
- <grade/>
- <mixseqno/>
- </item>
- </resultlist>
- <ajtroulist>
- <item/>
- </ajtroulist>
- <testcls>
- <item/>
- </testcls>
- <testlist>
- <item/>
- </testlist>
- <ctlist>
- <item/>
- </ctlist>
- <ctdetllist>
- <item/>
- </ctdetllist>
- <patsumm>
- <item>
- <summ_data0/>
- <summ_data1/>
- <summ_data2/>
- <summ_data3/>
- <summ_data4/>
- <summ_totdata/>
- </item>
- </patsumm>
- <data>
- <c_list>
- </c_list>
- <ro_list>
- </ro_list>
- <u_list>
- </u_list>
- <rd_list/>
- <m_list/>
- <s_list/>
- <lvl1_list>
- </lvl1_list>
- <lvl2_list/>
- <lvl3_list/>
- <sim_list>
- <item1/>
- <item2/>
- </sim_list>
- <desa1_list/>
- <desa_list>
- <item1/>
- </desa_list>
- <f_list/>
- <f2_list>
- <item1/>
- <item2/>
- </f2_list>
- </data>
- </main>
- <init>
- <baseinfo>
- <choiflaglst/>
- <hedetlflaglst/>
- <rslttypelst/>
- <plceflag/>
- <pamcdlst>
- <uncocdlst/>
- <disccdlst/>
- </pamcdlst>
- <inqrflag/>
- <drlst>
- <itemdr/>
- </drlst>
- <statlst/>
- <rptgroup/>
- <healexamplacelst/>
- </baseinfo>
- <send>
- <srchhealexamdetlflag/>
- <srchpid2/>
- <srchpnm/>
- <srchasischk/>
- <srchhealexamplacecd/>
- <srcrsrvdd/>
- <srcrsrvno/>
- <srcpid/>
- <srchngnm/>
- <srcsex/>
- <rrgstno1/>
- <rrgstno2/>
- </send>
- <userdata>
- <userid/>
- <usernm/>
- </userdata>
- <A0002list>
- <A0002>
- <cdnm/>
- <cdid/>
- </A0002>
- </A0002list>
- <A0005list>
- <A0005>
- <cdnm/>
- <cdid/>
- </A0005>
- </A0005list>
- <A0013list>
- <A0013>
- <cdnm/>
- <cdid/>
- </A0013>
- </A0013list>
- <A0042list>
- <A0042>
- <cdnm/>
- <cdid/>
- </A0042>
- </A0042list>
- <ajrmlist>
- <drstmt/>
- <seqno/>
- <ajclscd1/>
- <ajclscd2/>
- <ajclscd3/>
- </ajrmlist>
- </init>
- <hidden>
- <aa/>
- </hidden>
- <temp>
- <tempexmp>
- <itemexmp>
- <rsltcd/>
- <rsltnm/>
- </itemexmp>
- </tempexmp>
- <popupmenu>
- <item>
- <name>선택</name>
- <func>fCheck</func>
- </item>
- <item>
- <name>선택취소</name>
- <func>fCnclCheck</func>
- </item>
- </popupmenu>
- </temp>
- <disply>
- <langlst/>
- <rptqrcl>
- <trdpth/>
- <ajclscd/>
- <ajclsnm/>
- </rptqrcl>
- </disply>
- <popupdata>
- <ajclscd1/>
- <ajclscd2/>
- <ajclscd3/>
- <prcpcd/>
- <clickyn/>
- <fromdd/>
- <todd/>
- <endyn/>
- </popupdata>
- <send_05300>
- <reqdata>
- <savedata/>
- </reqdata>
- </send_05300>
- <tmp>
- <tabflag/>
- <drrecm/>
- <cmt/>
- <futerm/>
- <send_05300>
- <reqdata>
- <savedata>
- </savedata>
- </reqdata>
- </send_05300>
- <ajmmlist/>
- </tmp>
- <updatelist>
- <send_05300>
- <reqdata>
- </reqdata>
- </send_05300>
- </updatelist>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fPatInfoSet();
- fGetBasicCdList();
-
- fGetRsltPatList(); //화면 우측의 결과 요약,운동능력평가등을 가져온다.
- button5.dispatch("onclick");//이상소견 조회
- fPatSumm();
- // fRetrive("C")
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlist"/>
- <submission id="TRAHB01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/room/roomlst"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/choilst"/>
- <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <bind id="bind_rslt" ref="/root/main/rsltlst/item/testrsltcnts" readonly="../rsltflag="O""/>
- <submission id="TRAHB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/init/baseinfo/item"/>
- <submission id="TRAHB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/anslst"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/drlst"/>
- <submission id="TRAHB00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/assorsltlst"/>
- <submission id="TRAHR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/rsltlst"/>
- <submission id="TXAHR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHR00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveallout" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acptinfo/inqrlst"/>
- <submission id="TRAHB01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/authlst"/>
- <submission id="TRAHB04702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/disply/rptqrcl"/>
- <submission id="TRAHB05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptlst"/>
- <submission id="TRAHB05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/amaw"/>
- <submission id="TRAHB05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/health"/>
- <submission id="TRAHB05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/recommedlist"/>
- <submission id="TRAHB05316" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/grade"/>
- <submission id="TRAHB05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/resultlist"/>
- <submission id="TRAHB05318" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/resultlist"/>
- <submission id="TRAHB05304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ajtroulist"/>
- <submission id="TRAHB05305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/testcls"/>
- <submission id="TRAHB05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdenlist"/>
- <submission id="TRAHB05307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/framlist"/>
- <submission id="TRAHB05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ahbmajsdlist"/>
- <submission id="TRAHB05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdentestlist"/>
- <submission id="TRAHB05310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdenrelist"/>
- <submission id="TRAHB05311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/framresult"/>
- <submission id="TXAHB05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/amaw" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/health" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/grade" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/recommedlist" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB05305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/resultlist" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHB05312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ctlist"/>
- <submission id="TRAHB05317" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/testlist"/>
- <submission id="TRAHB05313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/ctdetllist"/>
- <submission id="TRAHB05314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/patsumm"/>
- <submission id="TRAHB05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/data"/>
- <submission id="TXAHB05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/updatelist/send_05300/reqdata/savedata"/>
- <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAHB05315" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/init/ajrmlist"/>
- <submission id="TXAHB05307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/updatelist/send_05300/reqdata/savedata" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fPatSumm(){
- //이상소견을 조회하는 시점에서 조회 조건을 생성함.
- submit("TRAHB05314",false);
- var vtotdata = model.getValue("/root/main/patsumm/item/summ_data0")
- +"\n" + model.getValue("/root/main/patsumm/item/summ_data1")
- +"\n" + model.getValue("/root/main/patsumm/item/summ_data2")
- +"\n" + model.getValue("/root/main/patsumm/item/summ_data3")
- +"\n" + model.getValue("/root/main/patsumm/item/summ_data4") ;
- model.makeNode("/root/main/patsumm/item/summ_totdata");
- model.setValue("/root/main/patsumm/item/summ_totdata" , vtotdata);
- textarea1.refresh();
-
- }//fPatSumm end
-
- /**===================================================================================
- // 본화면은 팝업으로 호출되는 화면이므로 호출될때 받은 데이터를 화면에 set해준다.
- =====================================================================================*/
- function fPatInfoSet(){
- model.copyNode("/root/main/patinfo" , "/root/temp");
-
- ipt_hngnm.refresh(); ipt_sex.refresh(); ipt_pid.refresh(); ipt_rrgstno1.refresh(); ipt_rrgstno2.refresh(); ipt_hopedd.refresh();
- }//fPatInfoSet() end
-
- /**===================================================================================
- *기본코드 내역 가져오기
- =====================================================================================*/
- function fGetBasicCdList(){
- fGetHealexamCodeList( new Array("A0002", "A0005", "A0013","A0042"),
- new Array("/root/init/A0002list" , "/root/init/A0005list" , "/root/init/A0013list","/root/init/A0042list") );
-
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var cnt_userid = UserInfosS_Array[0]; //사용자번호
- var cnt_usernm = UserInfosS_Array[1]; //사용자이름
- model.setValue("/root/init/userdata/userid" , cnt_userid);
- model.setValue("/root/init/userdata/usernm" , cnt_usernm);
-
-
- /*
- vHealexamflag = fGetHealExamFlag();
- zbcfGetCodeList( new Array( "A0107") , new Array( "/root/init/baseinfo/statlst" ) );
- submit("TRZBC00101",false);
-
- //검사실 코드조회
- // model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
-
- //부모창에서 /root/temp에 데이터를 넣어준다.
- ipt_srcrsrvdd.value=model.getValue("/root/temp/rsrvdd");
- ipt_srcrsrvno.value=model.getValue("/root/temp/rsrvno");
- ipt_srcpid.value=model.getValue("/root/temp/pid");
- ipt_srchngnm.value=model.getValue("/root/temp/hngnm");
- ipt_srcsex.value=model.getValue("/root/temp/sex");
- ipt_srcrrgstno1.value=model.getValue("/root/temp/rrgstno1");
- ipt_srcrrgstno2.value=model.getValue("/root/temp/rrgstno2");
-
- model.setValue("/root/send/srchhealexamflag" , "C");
- model.setValue("/root/init/send/srchhealexamdetlflag" ,"C01");
-
- //판정의조회
- model.makeNode("/root/send/srchcond" );
- model.setValue("/root/send/srchcond", "J");
- submit("TRAHB01504",false);
- */
- // open("SMAHB05400", "1", "", "", "popup", "root/temp", "/root/temp" );
-
- }
- /**===================================================================================
- *결과입력대상자 가져오기
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- =====================================================================================*/
- function fGetRsltPatList(){
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd") );
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd") );
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno") );
- model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid") );
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag") );
- model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag") );
- model.makeValue("/root/send_05300/reqdata/srchhngnm" , model.getValue("/root/main/patinfo/hngnm") );
- model.makeValue("/root/send_05300/reqdata/srchfromdd" , model.getValue("/root/main/patinfo/fromdd") );
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd") );
- model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex") );
- model.makeValue("/root/send_05300/reqdata/srchinqrrptid" , model.getValue("/root/main/patinfo/inqrrptid") );
-
- submit("TRAHB05303",false); //결과요약
- //submit("TRAHB05304");
-
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'MM' );
- submit("TRAHB05112",false); // 메모 조회
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'EX' );
- submit("TRAHB05301",false); //운동가능여부
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'NC' );
- submit("TRAHB05302",false); //추천검사
-
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'GD' );
- submit("TRAHB05316"); //결과등급
-
- model.makeValue("/root/send/srchclscd", "G");
- model.makeValue("/root/send/srchetccd", "G10");
- submit("TRAHB00604",false); //결과요약
- //model.refresh();
- }
-
- /**===================================================================================
- 서술 입력형 결과 그리드 입력
- =====================================================================================*/
-
- function fRetrive(vPara) {
- model.resetInstanceNode("/root/send_05300/reqdata");
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
-
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid"));
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
- model.makeValue("/root/send_05300/reqdata/srchstatflag" , model.getValue("/root/main/patinfo/statflag"));
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
- model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex"));
- model.makeValue("/root/send_05300/reqdata/srchinqrrptid" , model.getValue("/root/main/patinfo/inqrrptid"));
- model.makeValue("/root/send_05300/reqdata/srchflag" , vPara );
-
- if(vPara == "cmt"){ // 이상소견
- submit("TRAHB05304");
- }else if( vPara == "testcls"){ // 분류별 검사결과
- submit("TRAHB05317");
- // model.makeValue("/root/send_03400/reqdata/srchworkflagcd", 'TREE');
- // model.makeValue("/root/send_03400/reqdata/srchgrupid",'B');
- // model.makeValue("/root/send_03400/reqdata/alldataviewyn", 'N');
- // submit("TRAHB03401"); // 트리를 보여야하므로 false안함.
- }else if(vPara =="ct"){ //영상검사결과
- submit("TRAHB05312");
- }
- }
-
- /**===================================================================================
- 서술 입력형 결과 그리드 입력
- =====================================================================================*/
-
- function fRetrivedenger(vPara) {
- model.resetInstanceNode("/root/send_05400/reqdata");
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid"));
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
- model.makeValue("/root/send_05300/reqdata/srchstatflag" , model.getValue("/root/main/patinfo/statflag"));
- model.makeValue("/root/send_05300/reqdata/srchage" , model.getValue("/root/main/patinfo/age"));
- model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex"));
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
- model.makeValue("/root/send_05300/reqdata/srchhngnm" , model.getValue("/root/main/patinfo/hngnm"));
- model.makeValue("/root/send_05300/reqdata/ajocyn" , "");
- model.makeValue("/root/send_05300/reqdata/srchflag" , 'display');
- submit("TRAHB05401");
-
- }
-
-
- // --------------------------------------------------------------------------------------------------------------------------------------
- //화면 그리드 조절
- // -----------------------------------------------------------------------------------------------------------------------------------
- function fGridWidthcontrol(sStatus){
- // 질문 내역 그리드를 늘릴때
-
- if(sStatus == "W") {
- swt_rslt.attribute("width") ="1194px";
- case_cmt.attribute("width") ="1194px";
- case_testcls.attribute("width") ="1194px";
- case_ct.attribute("width") ="1194px";
- case_testcls23.attribute("width") ="1194px";
- switch1.attribute("width") ="1194px";
- case1.attribute("width") ="1194px";
- case2.attribute("width") ="1194px";
- case3.attribute("width") ="1194px";
-
- // grd_ajtroulist.attribute("width") ="1194px";
- // grd_testcls.attribute("width") ="1100px";
-
- }
- if(sStatus == "N") {
- swt_rslt.attribute("width") ="705px";
- case_cmt.attribute("width") ="705px";
- case_testcls.attribute("width") ="705px";
- case_ct.attribute("width") ="705px";
- case_testcls23.attribute("width") ="705px";
- switch1.attribute("width") ="703px";
- case1.attribute("width") ="700px";
- case2.attribute("width") ="700px";
- case3.attribute("width") ="700px";
-
-
- // grd_ajtroulist.attribute("width") ="705px";
- // grd_testcls.attribute("width") ="705px";
- }
- model.refresh();
- }//fGridWidthcontrol 그리드 조절 끝
- function fChngData(flag){
-
- if(flag == 'drstmt'){
- var useflag = '1';
- }else{
- var useflag = '2';
- }
-
- if(model.getValue("/root/tmp/tabflag") == 'ct'){
-
- var sValue =
- "1" + "▦" +
- '' + "▦" + //분류1
- '' + "▦" + //분류2
- '' + "▦" + //분류3
- model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item1") + "▦" + //처방
- useflag //ajmm_useflag
- ;
- setParameter("SPAHB03300_PARM",sValue);
- modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "");
- if(model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm") == ""){messageBox("선택된 데이터가 없습니다","I999"); return false;}
- model.setValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
- grd_ctlist.rowstatus(grd_ctlist.row) = 2;
- grd_ctlist.refresh();
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd1"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd2"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd3"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_seqno"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
-
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/tretdd" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item7"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/insseq" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item8"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/testcd" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item6"));
- }
- if(model.getValue("/root/tmp/tabflag") == 'cmt'){
- if(flag == 'drstmt'){
- //선 판정문 클릭시 콤보박스가 채워지고 그다음에 값을 수정하면 데이터를 쌓는다.
- model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/drstmt"));
- grd_ajtroulist.rowstatus(grd_ajtroulist.row) = 2;
- grd_ajtroulist.refresh();
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd1"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd2"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd3"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/seqno"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/drstmt"));
- /*
- //판정문을 바꿀때
- var sValue =
- "1" + "▦" +
- model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item19") + "▦" + //분류1
- model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item20") + "▦" + //분류2
- model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item21") + "▦" + //분류3
- '' + "▦" + //처방item7
- useflag //ajmm_useflag
- ;
- setParameter("SPAHB03300_PARM",sValue);
- modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", ""); //sysmenu:hidden
- model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
- if(model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm") == ""){messageBox("선택된 데이터가 없습니다","I999"); return false;}
- grd_ajtroulist.rowstatus(grd_ajtroulist.row) = 2;
- grd_ajtroulist.refresh();
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd1"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue( "/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd2"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd3"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue( "/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_seqno"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
- */
- }else if(flag == 'cmt'){
- //이상소견 상태만 바꿀때
- model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , cmb_cmt.label);
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , cmb_cmt.value);
- grd_ajtroulist.refresh();
- }else if(flag == 'futerm'){
- model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , cmb_futerm.label);
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , cmb_futerm.value);
- grd_ajtroulist.refresh();
-
- }//inner if end
-
-
- // 수정시 키 부분
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/prntyn" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item1"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/tretdd" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item12"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/insseq" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item18"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/testcd" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item7"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/mixno" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item10"));
-
- }//outter if end
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/flag" ,flag);
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/type" ,'A'); //업데이트 유형
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.makeValue("/root/tmp/send_05300/reqdata/savedata/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
-
- var Cnt = parseInt(getNodesetCount("/root/updatelist/send_05300/reqdata/savedata")) + 1;
- model.makeNode("/root/updatelist/send_05300/reqdata/savedata["+Cnt+"]");
- copyNodesetType("/root/updatelist/send_05300/reqdata/savedata["+Cnt+"]", "/root/tmp/send_05300/reqdata/savedata");
- }//fChngData end
-
- function fSrchDiag(cond1 ,cond2 ,cond3 , cond4 , cond5){
- setParameter ( "SPMMO00800_cond1", cond1 ); //검색구분(1:코드, 2:명)
- setParameter ( "SPMMO00800_cond2", cond2); //명칭검색구분(1:코드, 2:단어, 3:문장, 4:첫단어)
- setParameter ( "SPMMO00800_cond3", cond3 );//한영구분(H: 한글, E:영문)
- setParameter ( "SPMMO00800_cond4", getCurrentDate().toDate().getAddDate(1).getDateFormat("YYYYMMDD"));//기준일자: 외래일때는 진료일자, 입원일때는 처방일자
- setParameter ( "SPMMO00800_cond5", cond5 );//검색내용
- setParameter ( "SPMMO00800_srchmode", "P" );//검색위치
-
- modal ( "SPMMO00800", "50", "50", "50", "diagsrch", "", "", "", false );
-
- var SPMMO00800_RTN = getParameter("SPMMO00800_rtn");
- // 값이 ▩ , ▦ 으로 행과 열이 구분됨
- for(var i = 1 ; i < 2 ; i++){
- var arrRow = SPMMO00800_RTN.split("▩");
- if(arrRow != ""){
- array_parm = arrRow[i].split("▦" )
- }
- }
-
- if(arrRow != ""){
- var rtn_diagcd = array_parm[9];
- var rtn_engdiag = array_parm[2];
- var rtn_hngdiag = array_parm[3];
- }else{ //조회 내역을 선택 하지 않았을때
- var rtn_diagcd = "";
- var rtn_engdiag ="";
- var rtn_hngdiag = "";
- }
- model.setValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd" , rtn_diagcd );
- model.setValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/drfindings" , rtn_hngdiag);
- grd_resultlist.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,662;2,692;1,865;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:175px; height:14px; ">[자동판정] 결과보기</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:767px; ">
- <caption id="caption4" class="tit_2" style="left:715px; top:549px; width:151px; height:13px; ">다음검진 추천</caption>
- <caption id="caption2" class="tit_2" style="left:715px; top:154px; width:151px; height:13px; ">결과요약</caption>
- <button id="button31" class="icon_next_month" style="left:805px; top:152px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_resultlist.attribute("width") ="480px";
- grd_resultlist.attribute("height") ="155px";
- grd_resultlist.attribute("left") ="712px";
- swt_rslt.attribute("visibility")= "visible";
- caption17.attribute("visibility")= "visible";
- button27.attribute("visibility")= "visible";
- button28.attribute("visibility")= "visible";
- button26.attribute("visibility")= "visible";
- line6.attribute("visibility")= "visible";
- grd_grade.attribute("visibility")= "visible";
- caption3.attribute("visibility")= "visible";
- button13.attribute("visibility")= "visible";
- button14.attribute("visibility")= "visible";
- button3.attribute("visibility")= "visible";
- line1.attribute("visibility")= "visible";
- grd_health.attribute("visibility")= "visible";
- caption4.attribute("visibility")= "visible";
- button15.attribute("visibility")= "visible";
- button16.attribute("visibility")= "visible";
- button2.attribute("visibility")= "visible";
- line2.attribute("visibility")= "visible";
- grd_recommedlist.attribute("visibility")= "visible";
- caption7.attribute("visibility")= "visible";
- btn_addqest.attribute("visibility")= "visible";
- btn_delqest.attribute("visibility")= "visible";
- btn_save.attribute("visibility")= "visible";
- line3.attribute("visibility")= "visible";
- grd_amaw.attribute("visibility")= "visible";
-
- ]]>
- </script>
- </button>
- <button id="button30" class="icon_pre_month" visibility="visible" style="left:790px; top:152px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_resultlist.attribute("width") ="1194px";
- grd_resultlist.attribute("height") ="590px";
- grd_resultlist.attribute("left") ="0px";
- swt_rslt.attribute("visibility")= "hidden";
- caption17.attribute("visibility")= "hidden";
- button27.attribute("visibility")= "hidden";
- button28.attribute("visibility")= "hidden";
- button26.attribute("visibility")= "hidden";
- line6.attribute("visibility")= "hidden";
- grd_grade.attribute("visibility")= "hidden";
- caption3.attribute("visibility")= "hidden";
- button13.attribute("visibility")= "hidden";
- button14.attribute("visibility")= "hidden";
- button3.attribute("visibility")= "hidden";
- line1.attribute("visibility")= "hidden";
- grd_health.attribute("visibility")= "hidden";
- caption4.attribute("visibility")= "hidden";
- button15.attribute("visibility")= "hidden";
- button16.attribute("visibility")= "hidden";
- button2.attribute("visibility")= "hidden";
- line2.attribute("visibility")= "hidden";
- grd_recommedlist.attribute("visibility")= "hidden";
- caption7.attribute("visibility")= "hidden";
- btn_addqest.attribute("visibility")= "hidden";
- btn_delqest.attribute("visibility")= "hidden";
- btn_save.attribute("visibility")= "hidden";
- line3.attribute("visibility")= "hidden";
- grd_amaw.attribute("visibility")= "hidden";
- caption4.attribute("visibility")= "hidden";
- ]]>
- </script>
- </button>
- <datagrid id="grd_grade" nodeset="/root/main/grade/item" autoresize="true" caption="작성일^작성자^판정등급^기관코드^건진구분^건진상세구분^예약일자^예약번호^분류^입력일련번호^환자번호^수용여부" colsep="^" colwidth="100, 143, 123, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:357px; width:480px; height:50px; ">
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="cnstcnts" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0042list/A0042">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="instcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cnstclsf" visibility="hidden"/>
- <col ref="cnstseq" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="dracptyn" visibility="hidden"/>
- </datagrid>
- <button id="button26" class="btn5_letter2" style="left:1150px; top:332px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send_05300/reqdata/grade", grd_grade.getUpdateData());
- submit("TXAHB05308",false);
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'GD' );
- submit("TRAHB05303");
- grd_grade.clearStatus();
- ]]>
- </script>
- </button>
- <button id="button28" class="btn2_letter3" style="left:1096px; top:332px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_grade, true);
- ]]>
- </script>
- </button>
- <button id="button27" class="btn2_letter3" style="left:1042px; top:332px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_grade.addRow();
- var cur_row = grd_grade.row;
- model.setValue("/root/main/grade/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
- model.setValue("/root/main/grade/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
- model.setValue("/root/main/grade/item["+cur_row+"]/dracptyn" , 'Y');
- model.setValue("/root/main/grade/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.setValue("/root/main/grade/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.setValue("/root/main/grade/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.setValue("/root/main/grade/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.setValue("/root/main/grade/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/grade/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/grade/item["+cur_row+"]/cnstclsf" , 'GD');
- model.setValue("/root/main/grade/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/main/grade/item["+cur_row+"]/cnstcnts" , '');
- ]]>
- </script>
- </button>
- <line id="line6" class="line_1" style="x1:712px; y1:352px; x2:1192px; y2:352px; "/>
- <caption id="caption17" class="tit_2" style="left:715px; top:336px; width:151px; height:14px; ">결과 등급</caption>
- <button id="button14" class="btn2_letter3" style="left:1096px; top:415px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_health, true);
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:1042px; top:415px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_health.addRow();
- var cur_row = grd_health.row;
- model.setValue("/root/main/health/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
- model.setValue("/root/main/health/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
- model.setValue("/root/main/health/item["+cur_row+"]/dracptyn" , 'Y');
- model.setValue("/root/main/health/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.setValue("/root/main/health/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.setValue("/root/main/health/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.setValue("/root/main/health/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.setValue("/root/main/health/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/health/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/health/item["+cur_row+"]/cnstclsf" , 'EX');
- model.setValue("/root/main/health/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/main/health/item["+cur_row+"]/cnstcnts" , '-');
- ]]>
- </script>
- </button>
- <button id="btn_delqest" class="btn2_letter3" style="left:1096px; top:626px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_amaw, true);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_addqest" class="btn2_letter3" style="left:1042px; top:626px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_amaw.addRow();
- var cur_row = grd_amaw.row;
- model.setValue("/root/main/amaw/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
- model.setValue("/root/main/amaw/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
- // model.setValue("/root/main/amaw/item["+cur_row+"]/sel" , 'Y');
- model.setValue("/root/main/amaw/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/cnstclsf" , 'MM');
- model.setValue("/root/main/amaw/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/main/amaw/item["+cur_row+"]/cnstcnts" , '');
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter3" style="left:1096px; top:545px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_recommedlist, true);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button15" class="btn2_letter3" style="left:1042px; top:545px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_recommedlist.addRow();
- var cur_row = grd_recommedlist.row;
-
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/dracptyn" , 'Y');
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/cnstclsf" , 'NC');
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/main/recommedlist/item["+cur_row+"]/cnstcnts" , '');
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/patsumm/item/summ_data0" visibility="hidden" style="left:710px; top:40px; width:15px; height:19px; "/>
- <caption id="caption7" class="tit_2" style="left:715px; top:629px; width:151px; height:13px; ">메모</caption>
- <line id="line4" class="line_1" style="x1:712px; y1:170px; x2:1192px; y2:170px; "/>
- <group id="group5" style="left:0px; top:5px; width:1193px; height:30px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_hopedd" ref="/root/main/patinfo/hopedd" class="output_fix" disabled="true" visibility="visible" inputtype="date" style="left:909px; top:6px; width:85px; height:19px; "/>
- <caption id="caption10" class="search_name" visibility="visible" heigh="17px" style="left:821px; top:6px; width:86px; height:17px; ">건진일자:</caption>
- <caption id="caption5" class="search_name" visibility="visible" style="left:350px; top:6px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/main/patinfo/pid" class="output_fix" disabled="true" visibility="visible" style="left:439px; top:6px; width:100px; height:19px; "/>
- <caption id="caption9" class="search_name" visibility="visible" style="left:5px; top:6px; width:86px; height:17px; ">성 명 :</caption>
- <input id="ipt_hngnm" ref="/root/main/patinfo/hngnm" class="output_fix" disabled="true" visibility="visible" style="left:75px; top:6px; width:85px; height:19px; "/>
- <input id="ipt_sex" ref="/root/main/patinfo/sex" class="output_fix" disabled="true" visibility="visible" style="left:270px; top:6px; width:35px; height:19px; "/>
- <caption id="caption11" class="search_name" visibility="visible" style="left:169px; top:6px; width:101px; height:17px; ">성별/나이 :</caption>
- <caption id="caption12" class="search_name" visibility="visible" style="left:545px; top:6px; width:115px; height:17px; ">주민등록번호 :</caption>
- <input id="ipt_rrgstno1" ref="/root/main/patinfo/rrgstno1" class="output_fix" disabled="true" visibility="visible" style="left:658px; top:6px; width:75px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/patinfo/rrgstno2" class="output_fix" disabled="true" visibility="visible" style="left:737px; top:6px; width:75px; height:19px; "/>
- <input id="ipt_age" ref="/root/main/patinfo/age" class="output_fix" disabled="true" visibility="visible" style="left:305px; top:6px; width:35px; height:19px; "/>
- <button id="button23" class="btn2_letter3" style="left:1130px; top:5px; width:53px; height:19px; ">
- <caption>재조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // ready에 있는거 그대로.
- fPatInfoSet();
- // fGetBasicCdList();
-
- fGetRsltPatList(); //화면 우측의 결과 요약,운동능력평가등을 가져온다.
- button5.dispatch("onclick");//이상소견 조회
- fPatSumm();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button24" class="btn2_letter4" style="left:1000px; top:5px; width:64px; height:19px; ">
- <caption>이전환자</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // model.copyNode("/root/main/patinfo" , "/root/temp");
- var no = model.getValue("/root/temp/no") - 1 ;
- model.removenode("/root/temp");
- model.makeNode("/root/temp");
-
- var openerGridObj = opener.grd_judgpatlst;
- var openerGridObjNodeset = openerGridObj.nodeset;
-
- openerNode = opener.instance1.selectSingleNode(openerGridObjNodeset + "['" + no + "']");
-
- model.copyNode(root.temp, openerNode);
- button23.dispatch("onclick");
-
- // window.mdi("status")= "tile";
-
- // iviewer.window.mdiChildren.item(deselected.value).close();
- ]]>
- </script>
- </button>
- <button id="button25" class="btn2_letter4" style="left:1065px; top:5px; width:53px; height:19px; ">
- <caption>이후환자</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var no = model.getValue("/root/temp/no") - ( -1);
- model.removenode("/root/temp");
- model.makeNode("/root/temp");
-
- var openerGridObj = opener.grd_judgpatlst;
- var openerGridObjNodeset = openerGridObj.nodeset;
-
- openerNode = opener.instance1.selectSingleNode(openerGridObjNodeset + "['" + no + "']");
-
- model.copyNode(root.temp, openerNode);
- button23.dispatch("onclick");
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_amaw" nodeset="/root/main/amaw/item" autoresize="true" caption="선택^날짜^작성자^내용^기관코드^건진구분^건진상세구분^예약일자^예약번호^구분^입력일련번호^환자번호^제목" colsep="^" colwidth="100, 100, 100, 251, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:649px; width:480px; height:116px; ">
- <col ref="dracptyn" visibility="hidden"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="false" ref="lastupdtrid"/>
- <col ref="cnstcnts" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cnstclsf" visibility="hidden"/>
- <col ref="cnstseq" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_health" nodeset="/root/main/health/item" autoresize="true" caption="작성일^작성자^운동가능여부^기관코드^건진구분^건진상세구분^예약일자^예약번호^분류^입력일련번호^내용^환자번호" colsep="^" colwidth="100, 143, 123, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:440px; width:480px; height:101px; ">
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="dracptyn" type="checkbox"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cnstclsf" visibility="hidden"/>
- <col ref="cnstseq" visibility="hidden"/>
- <col ref="cnstcnts" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:715px; top:419px; width:151px; height:13px; ">운동 능력평가</caption>
- <datagrid id="grd_recommedlist" nodeset="/root/main/recommedlist/item" autoresize="true" caption="추천다음검사^날짜^작성자^수용여부^기관코드^건진구분^건진상세구분^예약번호^예약일련번호^구분^입력일련번호^환자번호^제목" colsep="^" colwidth="398, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:570px; width:480px; height:50px; ">
- <col ref="cnstcnts" type="input"/>
- <col ref="lastupdtdt" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="false" ref="lastupdtrid" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dracptyn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cnstclsf" visibility="hidden"/>
- <col ref="cnstseq" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:712px; y1:435px; x2:1192px; y2:435px; "/>
- <line id="line2" class="line_1" style="x1:712px; y1:565px; x2:1192px; y2:565px; "/>
- <line id="line3" class="line_1" style="x1:712px; y1:646px; x2:1192px; y2:646px; "/>
- <button id="btn_save" class="btn5_letter2" style="left:1150px; top:626px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send_05300/reqdata/amaw", grd_amaw.getUpdateData());
- submit("TXAHB05301",false);
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'MM' );
- submit("TRAHB05112");
- grd_amaw.clearStatus();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:1150px; top:545px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send_05300/reqdata/recommedlist", grd_recommedlist.getUpdateData());
- submit("TXAHB05303",false);
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'NC' );
- submit("TRAHB05302");
- grd_recommedlist.clearStatus();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn5_letter2" style="left:1150px; top:415px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send_05300/reqdata/health", grd_health.getUpdateData());
-
- submit("TXAHB05302",false);
- model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'EX' );
- submit("TRAHB05301");
- grd_health.clearStatus();
- ]]>
- </script>
- </button>
- <button id="btn_testcls" class="btn_sw" group="tab" style="left:60px; top:126px; width:100px; height:22px; ">
- <caption>분류별검사결과</caption>
- <toggle case="case_testcls" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'testcls');
- fRetrive("testcls");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn_sw" group="tab" selected="true" style="left:0px; top:126px; width:60px; height:22px; ">
- <caption>이상소견</caption>
- <toggle case="case_cmt" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'cmt');
- fRetrive("cmt");
-
- if( getNodesetCount("/root/main/ajtroulist/item") > 1){
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item1")) = model.getValue("/root/main/ajtroulist/item[1]/item1");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item2")) = model.getValue("/root/main/ajtroulist/item[1]/item2");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item3")) = model.getValue("/root/main/ajtroulist/item[1]/item3");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item4")) = model.getValue("/root/main/ajtroulist/item[1]/item4");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item5")) = model.getValue("/root/main/ajtroulist/item[1]/item5");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item6")) = model.getValue("/root/main/ajtroulist/item[1]/item6");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item7")) = model.getValue("/root/main/ajtroulist/item[1]/item7");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item8")) = model.getValue("/root/main/ajtroulist/item[1]/item8");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item9")) = model.getValue("/root/main/ajtroulist/item[1]/item9");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item10")) = model.getValue("/root/main/ajtroulist/item[1]/item10");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item11")) = model.getValue("/root/main/ajtroulist/item[1]/item11");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item12")) = model.getValue("/root/main/ajtroulist/item[1]/item12");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item13")) = model.getValue("/root/main/ajtroulist/item[1]/item13");
- grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item14")) = model.getValue("/root/main/ajtroulist/item[1]/item14");
- // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
- grd_ajtroulist.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
-
- grd_ajtroulist.mergecol(1) = false;
- // grd_ajtroulist.mergecol(3) = false;
- grd_ajtroulist.mergecol(4) = false;
- grd_ajtroulist.mergecol(5) = false;
- grd_ajtroulist.mergecol(6) = false;
- grd_ajtroulist.mergecol(7) = false;
- grd_ajtroulist.mergecol(8) = false;
- grd_ajtroulist.mergecol(9) = false;
- // grd_ajtroulist.mergecol(10) = false;
- grd_ajtroulist.mergecol(11) = false;
- grd_ajtroulist.mergecol(12) = false;
- grd_ajtroulist.mergecol(13) = false;
- grd_ajtroulist.mergecol(14) = false;
- grd_ajtroulist.mergecol(15) = false;
- grd_ajtroulist.mergecol(16) = false;
- grd_ajtroulist.mergecol(17) = false;
-
- grd_ajtroulist.mergecells = "bycol";
-
- setRowStyle("grd_ajtroulist" , "3" , "Y" , "item1" ,"equal");
- setRowStyle("grd_ajtroulist" , "9" , "판정문" , "item3" ,"equal");
-
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" style="left:160px; top:126px; width:120px; height:22px; ">
- <caption>영상/기능/기타결과</caption>
- <toggle case="case_ct" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'ct');
- fRetrive("ct");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="tab" style="left:280px; top:126px; width:100px; height:22px; ">
- <caption>건강위험도평가</caption>
- <toggle case="case_testcls23" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // fRetrive("Z");
- model.setValue("/root/tmp/tabflag",'testcls23');
- fRetrivedenger("A");
- button7.dispatch("onclick"); // 심혈관 질환 위험도 클릭
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter4" style="left:964px; top:40px; width:64px; height:19px; ">
- <caption>문진보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sValue =
- model.getValue("/root/main/patinfo/instcd") + "▦" +
- model.getValue("/root/main/patinfo/healexamflag") + "▦" +
- model.getValue("/root/main/patinfo/healexamdetlflag") + "▦" +
- model.getValue("/root/main/patinfo/hopedd") + "▦" +
- model.getValue("/root/main/patinfo/rsrvdd") + "▦" +
- model.getValue("/root/main/patinfo/rsrvno") + "▦" +
- model.getValue("/root/main/patinfo/pid") + "▦" +
- model.getValue("/root/main/patinfo/inqrrptid") + "▦" +
- 'Y' //저장버튼 비활성화
- ;
-
- setParameter("SMAHB04900_PARM",sValue);
- modal("SMAHB04900", "1","50", "50", "SMAHB04900", "", "", ""); //sysmenu:hidden
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:1042px; top:150px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_resultlist.addRow();
- var cur_row = grd_resultlist.row;
- model.setValue("/root/main/resultlist/item["+cur_row+"]/prntyn" , 'Y');
- model.setValue("/root/main/resultlist/item["+cur_row+"]/mixno" , '-');
- model.setValue("/root/main/resultlist/item["+cur_row+"]/cmt" , 'R');
- model.setValue("/root/main/resultlist/item["+cur_row+"]/updtnm" , model.getValue("/root/init/userdata/usernm") );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/drfindings" , '' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/updtyn" , 'Y' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/diagcd" , '-' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/insseq" , '');
- model.setValue("/root/main/resultlist/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
- model.setValue("/root/main/resultlist/item["+cur_row+"]/updtid" , model.getValue("/root/init/userdata/userid") );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/drstmt" , '' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd1" , '-' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd2" , '-' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd3" , '-') ;
- model.setValue("/root/main/resultlist/item["+cur_row+"]/seqno" , 0 );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/futerm" , 'CM' );
- model.setValue("/root/main/resultlist/item["+cur_row+"]/drreqdeptcd" , '0' );
-
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:1096px; top:150px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_resultlist, true);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button12" class="btn5_letter2" style="left:1150px; top:150px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_health.valueMatrix(grd_health.row, grd_health.colRef("cnstcnts")) = "12";
- model.makeValue("/root/send_05300/reqdata/resultlist", grd_resultlist.getUpdateData());
- submit("TXAHB05305",false);
- submit("TRAHB05303");
-
- // fGetRsltPatList();
- ]]>
- </script>
- </button>
- <output id="output2" ref="/root/main/patsumm/item/summ_data1" visibility="hidden" style="left:725px; top:40px; width:15px; height:19px; "/>
- <output id="output3" ref="/root/main/patsumm/item/summ_data2" visibility="hidden" style="left:740px; top:40px; width:15px; height:19px; "/>
- <output id="output4" ref="/root/main/patsumm/item/summ_data3" visibility="hidden" style="left:755px; top:40px; width:15px; height:19px; "/>
- <output id="output5" ref="/root/main/patsumm/item/summ_data4" visibility="hidden" style="left:770px; top:40px; width:15px; height:19px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:125px; x2:705px; y2:125px; color:#ccffff; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:35px; x2:705px; y2:35px; color:#ccffff; background-color:#99ccff; "/>
- <line id="line13" class="line_3" style="x1:705px; y1:35px; x2:705px; y2:125px; color:#ccffff; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:35px; x2:0px; y2:125px; color:#ccffff; "/>
- <button id="button19" class="icon_pre_month" style="left:672px; top:130px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("N");
- ]]>
- </script>
- </button>
- <button id="btn_chg_drstmt" class="btn2_letter3" style="left:382px; top:127px; width:53px; height:19px; ">
- <caption>판정문</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/tmp/tabflag") == 'cmt'){
- var mixno = model.getValue("/root/main/ajtroulist/item[" + grd_ajtroulist.row + "]/item10");
- model.makeValue("/root/send_05300/reqdata/srchmixno" , mixno);
- model.makeValue("/root/send_05300/reqdata/instcd" , model.getValue("/root/main/patinfo/instcd"));
- submit("TRAHB05315" , false);
- cmb_ajmmlist.refresh();
- }else if(model.getValue("/root/tmp/tabflag") == 'ct'){
- fChngData('drstmt');
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_chg_drrslt" class="btn2_letter3" visibility="hidden" style="left:710px; top:105px; width:53px; height:19px; ">
- <caption>결과문</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChngData('drrslt');
- ]]>
- </script>
- </button>
- <button id="button17" class="btn5_letter2" style="left:629px; top:127px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXAHB05306",false);
- model.removeNodeset("/root/updatelist/send_05300/reqdata/savedata");
- fGetRsltPatList();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_cmt" ref="/root/tmp/cmt" appearance="minimal" style="left:503px; top:127px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>확진</label>
- <value>C</value>
- </item>
- <item>
- <label>R/O</label>
- <value>R</value>
- </item>
- <item>
- <label>유소견</label>
- <value>U</value>
- </item>
- <item>
- <label>검사오류</label>
- <value>F</value>
- </item>
- <item>
- <label>정상</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngData('cmt');
- ]]>
- </script>
- </select1>
- <select1 id="cmb_futerm" ref="/root/tmp/futerm" appearance="minimal" style="left:564px; top:127px; width:66px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0002list/A0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngData('futerm');
- ]]>
- </script>
- </select1>
- <button id="button20" class="btn2_letter6" style="left:1105px; top:40px; width:86px; height:19px; ">
- <caption>의사종합소견</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMAHB05400", "1", "", "", "popup", "root/temp", "/root/temp" );
- ]]>
- </script>
- </button>
- <select1 id="cmb_ajmmlist" ref="/root/tmp/ajmmlist" appearance="minimal" style="left:437px; top:127px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ajrmlist">
- <label ref="drstmt"/>
- <value ref="seqno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngData('drstmt')
- ]]>
- </script>
- </select1>
- <button id="button22" class="btn2_letter5" style="left:1029px; top:40px; width:75px; height:19px; ">
- <caption>서술형결과</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SPAHB03900", "2", "", "", "popup", "/root/main/patinfo", "/root/temp" ) ;
- ]]>
- </script>
- </button>
- <textarea id="textarea1" ref="/root/main/patsumm/item/summ_totdata" style="left:0px; top:35px; width:705px; height:90px; "/>
- <button id="button29" class="btn2_letter9" style="left:1072px; top:60px; width:119px; height:19px; ">
- <caption>의사종합소견(과거)</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMAHB05500", "1", "", "", "popup", "root/temp", "/root/temp" );
- ]]>
- </script>
- </button>
- <button id="button18" class="icon_next_month" style="left:688px; top:130px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("W");
- ]]>
- </script>
- </button>
- <!-- 20100726 JHP 행삭제시 mixseqno필요하여 조회 및 저장로직에 mixseqno추가함 -->
- <datagrid id="grd_resultlist" nodeset="/root/main/resultlist/item" class="table1" autoresize="true" caption="수용여부^조합^조합일련^구분^작성자^진단명^수정여부^진단코드^판정문구^권고기간^진료과^예약일자^예약번호^기관코드^건진구분^건진상세구분^입력순서^pid^수정자 id^판정문구번호^판정문구분류1^판정문구분류2^판정문구분류3^처리일자" colsep="^" colwidth="59, 45, 100, 87, 104, 183, 100, 100, 367, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:712px; top:175px; width:480px; height:155px; ">
- <col checkvalue="Y,N" ref="prntyn" type="checkbox"/>
- <col ref="mixno"/>
- <col ref="mixseqno" visibility="hidden"/>
- <col disabled="false" ref="cmt" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/A0005list/A0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="updtnm"/>
- <col ref="drfindings" type="inputbutton"/>
- <col ref="updtyn" type="combo">
- <choices>
- <item>
- <label>수정함</label>
- <value>Y</value>
- </item>
- <item>
- <label>수정안함</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="diagcd" type="inputbutton"/>
- <col ref="drstmt" type="inputbutton"/>
- <col ref="futerm" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0002list/A0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drreqdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0013list/A0013">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="insseq" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="updtid" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="ajclscd1" visibility="hidden"/>
- <col ref="ajclscd2" visibility="hidden"/>
- <col ref="ajclscd3" visibility="hidden"/>
- <col ref="tretdd" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if (grd_resultlist.colRef("drfindings") == grd_resultlist.col ){
- if(event.keyCode == '13'){
- fSrchDiag('2','2','H','',model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/drfindings"));
- }
- }
- if (grd_resultlist.colRef("diagcd") == grd_resultlist.col ){
- if(event.keyCode == '13'){ alert(model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd"));
- fSrchDiag('1','1','E','',model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd"));
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if (grd_resultlist.colRef("drstmt") == grd_resultlist.col ){ //메인값
- model.resetInstanceNode("/root/tmp_03300/ajmmlist");
- var sValue =
- "1" + "▦" +
- '' + "▦" + //분류1
- '' + "▦" + //분류2
- '' + "▦" + //분류3
- '' + "▦" + //처방
- "1" //ajmm_useflag 1.판정예문
- ;
-
- setParameter("SPAHB03300_PARM",sValue);
- modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "sysmenu:hidden"); //sysmenu:hidden
-
- if(model.getValue("/root/tmp_03300/ajmmlist/ajmm_seqno") != ""){
- var adddesc = model.getValue("/root/main/resultlist/item[" + grd_resultlist.row + "]/drstmt"); //추가내용
- model.makeValue("/root/main/resultlist/item["+ grd_resultlist.row+"]/drstmt" , adddesc + "\n" + model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm")); //변환내용
-
- model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd1"));
- model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/ajclscd2" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd2"));
- // model.setValue("/root/main/resultlist/item["grd_resultlist.row+"]/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd3")); 판정예문에서 3은 없음.
- model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/seqno" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_seqno"));
- }
-
- }
- grd_resultlist.refresh();
- ]]>
- </script>
- </datagrid>
- <switch id="swt_rslt" visibility="visible" style="left:0px; top:147px; width:710px; height:618px; ">
- <case id="case_cmt" style="left:0px; top:0px; width:709px; height:675px; ">
- <datagrid id="grd_ajtroulist" nodeset="/root/main/ajtroulist/item" overflow="visible" scroll="auto" autoresize="true" backcolorfrozen="#339966" caption="^^^^^^" colsep="^" colwidth="51, 47, 140, 100, 270, 270, 270, 270, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozenrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:0px; top:1px; width:1190px; height:614px; ">
- <col checkvalue="Y,N" ref="item1" type="checkbox"/>
- <col ref="item10"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col ref="item4"/>
- <col ref="item5"/>
- <col ref="item6"/>
- <col ref="item7" visibility="hidden"/>
- <col ref="item8" visibility="hidden"/>
- <col ref="item9" visibility="hidden"/>
- <col ref="item11" visibility="hidden"/>
- <col ref="item12" visibility="hidden"/>
- <col ref="item13" visibility="hidden"/>
- <col ref="item14" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_ajtroulist.colRef("item1") == grd_ajtroulist.col ){
- var mixno = model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item10");
- var item1 = model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item1");
- for( var fRow = 1 ; fRow < grd_ajtroulist.rows; fRow++){
- cnt_mixno = grd_ajtroulist.valueMatrix(fRow,grd_ajtroulist.colRef("item10"));
-
- if ( mixno == cnt_mixno) {
- grd_ajtroulist.valueMatrix(fRow,grd_ajtroulist.colRef("item1")) = item1 ;
- }
- }// for end
-
- fChngData('prtyn');
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_testcls">
- <datagrid id="grd_testcls" nodeset="/root/main/testcls/item" overflow="visible" scroll="auto" autoresize="true" caption="^^^^^^" colsep="^" colwidth="105, 91, 31, 83, 82, 83, 36" rowheader="update" rowsep="|" style="left:285px; top:0px; width:905px; height:615px; ">
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item10" style="text-align:center; "/>
- <col ref="item3"/>
- <col ref="item4"/>
- <col ref="item5"/>
- <col ref="item6" visibility="hidden"/>
- </datagrid>
- <treeview id="trv_testlist" ref="/root/main/testlist/item" overflow="visible" expanddepth="2" itemsettype="depth" style="left:0px; top:25px; width:285px; height:590px; ">
- <itemset nodeset="/root/main/testlist/item">
- <label ref="ajclsnm"/>
- <value ref="ajclscd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
-
- //영상검사는 null 이다.
- var iRow = (trv_testlist.selectedIndex + 1); //인스턴스는 1부터 시작이므로 1을 더한다.
-
- var ajclscd1 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd1")
- var ajclscd2 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd2")
- var ajclscd3 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd3")
-
- model.makeNode("/root/send_05300/reqdata");
- model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
- model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
- model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchflag" , 'testcls' );
-
- submit("TRAHB05305");
- if( getNodesetCount("/root/main/testcls/item") > 1){
-
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item1")) = model.getValue("/root/main/testcls/item[1]/item1");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item2")) = model.getValue("/root/main/testcls/item[1]/item2");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item3")) = model.getValue("/root/main/testcls/item[1]/item3");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item4")) = model.getValue("/root/main/testcls/item[1]/item4");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item5")) = model.getValue("/root/main/testcls/item[1]/item5");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item6")) = model.getValue("/root/main/testcls/item[1]/item6");
- // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
- grd_testcls.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
-
- var cnt = grd_testcls.rows;
-
- for( var i = 1 ; i <= cnt ; i++){
- grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "white";
- // 기준치에 따른 색깔변경
- if("H" == grd_testcls.valueMatrix( i , grd_testcls.colRef("item10") ) ) {
- grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "#ff7a85";
- }
- if("L" == grd_testcls.valueMatrix( i , grd_testcls.colRef("item10") ) ) {
- grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "#99ccff";
- }
-
- }
-
- }
-
-
-
- grd_testcls.refresh();
- ]]>
- </script>
- </treeview>
- <caption id="caption19" class="tit_2" style="left:0px; top:5px; width:235px; height:14px; ">검사결과트리</caption>
- <button id="btn_click" class="btn2_letter4" visibility="hidden" style="left:170px; top:0px; width:64px; height:19px; ">
- <caption>화면클릭</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //분류코드값 셋팅
- var lvl = model.getValue("/root/popupdata/lvl");
- var ajclscd1 = model.getValue("/root/popupdata/ajclscd1");
- var ajclscd2 = model.getValue("/root/popupdata/ajclscd2");
- var ajclscd3 = model.getValue("/root/popupdata/ajclscd3");
-
- model.makeNode("/root/send_05300/reqdata");
- model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
- model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
- model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd")); //건진구분
- model.makeValue("/root/send_05300/reqdata/srchflag" , 'testcls' );
- if(lvl > 2){
- submit("TRAHB05305");
- if( getNodesetCount("/root/main/testcls/item") > 1){
-
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item1")) = model.getValue("/root/main/testcls/item[1]/item1");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item2")) = model.getValue("/root/main/testcls/item[1]/item2");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item3")) = model.getValue("/root/main/testcls/item[1]/item3");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item4")) = model.getValue("/root/main/testcls/item[1]/item4");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item5")) = model.getValue("/root/main/testcls/item[1]/item5");
- grd_testcls.valueMatrix(0,grd_testcls.colRef("item6")) = model.getValue("/root/main/testcls/item[1]/item6");
- // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
- grd_testcls.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
- }
- }
-
- grd_testcls.refresh();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_1" style="x1:0px; y1:20px; x2:285px; y2:20px; "/>
- </case>
- <case id="case_ct" selected="true">
- <datagrid id="grd_ctlist" nodeset="/root/main/ctdetllist/item" scroll="auto" autoresize="true" backcolorfrozen="#339966" caption="^^^^^" colsep="^" colwidth="141, 91, 223, 224, 226" ellipsis="true" frozenrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:285px; top:2px; width:890px; height:613px; ">
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col ref="item4"/>
- <col ref="item5"/>
- </datagrid>
- <treeview id="trv_ctlist" ref="/root/main/ctlist" expanddepth="2" itemsettype="depth" style="left:0px; top:3px; width:285px; height:612px; ">
- <itemset nodeset="/root/main/ctlist/item">
- <label ref="ajclsnm"/>
- <value ref="ajclscd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = (trv_ctlist.selectedIndex + 1); //인스턴스는 1부터 시작이므로 1을 더한다.
-
- var ajclscd1 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd1")
- var ajclscd2 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd2")
- var ajclscd3 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd3")
- model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
- model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
- model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
- model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
- model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
- model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvno"));
- model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/ctlist/item[" + iRow + "]/rsrvno"));
- model.makeValue("/root/send_05300/reqdata/srchtestcd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/testcd"));
- model.makeValue("/root/send_05300/reqdata/srchrslthistseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/rslthistseq"));
- model.makeValue("/root/send_05300/reqdata/srchtretdd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/tretdd"));
- model.makeValue("/root/send_05300/reqdata/srchchngseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/chngseq"));
- model.makeValue("/root/send_05300/reqdata/srchinsseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/insseq"));
- model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
- model.makeValue("/root/send_05300/reqdata/srchtestcd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/testcd"));
- model.makeValue("/root/send_05300/reqdata/srchflag" ,'ct');
- submit("TRAHB05313");
-
- if( getNodesetCount("/root/main/ctdetllist/item") > 1){
- grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item1")) = model.getValue("/root/main/ctdetllist/item[1]/item1");
- grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item2")) = model.getValue("/root/main/ctdetllist/item[1]/item2");
- grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item3")) = model.getValue("/root/main/ctdetllist/item[1]/item3");
- grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item4")) = model.getValue("/root/main/ctdetllist/item[1]/item4");
- grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item5")) = model.getValue("/root/main/ctdetllist/item[1]/item5");
- grd_ctlist.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
- }
- model.refresh();
-
- grd_ctlist.mergecol(2) = false;
- grd_ctlist.mergecol(3) = false;
- grd_ctlist.mergecol(4) = false;
- grd_ctlist.mergecol(5) = false;
- grd_ctlist.mergecells = "bycol";
-
- ]]>
- </script>
- </treeview>
- </case>
- <case id="case_testcls23">
- <switch id="switch1" style="left:0px; top:25px; width:705px; height:585px; ">
- <case id="case1" selected="true">
- <caption id="caption1" class="cell_1" style="left:0px; top:5px; width:1144px; height:20px; ">■ 심혈관 질환 위험도 평가</caption>
- <datagrid id="grd_lvl1_list" nodeset="/root/main/data/lvl1_list" caption="결정적 위험 요인^해당" colsep="^" colwidth="200, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:181px; top:45px; width:323px; height:430px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" disabled="false" ref="item6" type="checkbox"/>
- <col ref="item7" visibility="hidden"/>
- </datagrid>
- <datagrid id="grd_lvl2_list" nodeset="/root/main/data/lvl2_list" caption="강한 위험요인^해당" colsep="^" colwidth="200, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:505px; top:45px; width:325px; height:430px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" ref="item6" type="checkbox"/>
- <col ref="item7" visibility="hidden"/>
- </datagrid>
- <datagrid id="datagrid6" nodeset="/root/main/data/sim_list" allowuserresize="true" autoresize="true" autosizemouse="true" caption="위험도 항목" colsep="^" colwidth="175" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:45px; width:180px; height:140px; ">
- <col ref="item4"/>
- </datagrid>
- <datagrid id="grd_lvl3_list" nodeset="/root/main/data/lvl3_list" caption="보호 요인^해당" colsep="^" colwidth="195, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:830px; top:45px; width:319px; height:445px; ">
- <col ref="item5"/>
- <col checkvalue="Y,N" ref="item6" type="checkbox"/>
- <col ref="item7" visibility="hidden"/>
- </datagrid>
- <caption id="caption8" style="left:0px; top:25px; width:1144px; height:20px; ">심혈관 질환(관상동맥 질환) 위험도는 현재까지 연구된 결과를 바탕으로 알려진 여러가지 심혈관 질환에 영향을 미치는 위험 요인을 고려하여 향후 심현관 질환 발생 가능성을 알려드립니다.</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:480px; width:1144px; height:20px; ">[분석 결과]</caption>
- <textarea id="textarea5" ref="/root/main/data/sim_list/item2" style="left:0px; top:504px; width:1149px; height:61px; "/>
- <col ref="item1"/>
- <datagrid id="datagrid1" nodeset="/root/main/data/sim_list" autoresize="true" caption="평가" colsep="^" colwidth="175" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:190px; width:180px; height:150px; ">
- <col ref="item1"/>
- </datagrid>
- <datagrid id="datagrid2" nodeset="/root/main/data/sim_list" visibility="hidden" autoresize="true" caption="결과" colsep="^" colwidth="174" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:345px; width:180px; height:130px; ">
- <col ref="item3" style="left:0px; top:23px; width:174px; height:23px; "/>
- </datagrid>
- <button id="btn_simsave" class="btn5_letter2" style="left:165px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.removeNode("/root/updatelist/send_05300/reqdata/savedata");
- model.makeNode("/root/updatelist/send_05300/reqdata/savedata");
- model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl1_list", grd_lvl1_list.getUpdateData());
- model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl2_list", grd_lvl2_list.getUpdateData());
- model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl3_list", grd_lvl3_list.getUpdateData());
- model.makeNode("/root/updatelist/send_05300/reqdata/savedata/patinfo");
- model.copyNode("/root/updatelist/send_05300/reqdata/savedata/patinfo" , "/root/temp");
- submit("TXAHB05307",false);
- button1.dispatch("onclick");
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <datagrid id="grd_framlist" nodeset="/root/main/data/f_list" caption="1차요인^min^max^2차요인^min^max^점수^해당범위^점수" colsep="^" colwidth="133, 50, 50, 145, 50, 50, 118, 19, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:0px; top:25px; width:695px; height:475px; ">
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col ref="item4"/>
- <col ref="item5"/>
- <col ref="item6"/>
- <col ref="item7"/>
- <col ref="item8" visibility="hidden"/>
- <col ref="item9" visibility="hidden"/>
- <col ref="item10" visibility="hidden"/>
- </datagrid>
- <caption id="caption14" class="tit_2" style="left:2px; top:6px; width:151px; height:13px; ">Framingham score</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:20px; x2:695px; y2:20px; "/>
- <caption id="caption18" class="tit_2" style="left:0px; top:505px; width:236px; height:13px; ">Framingham score 분석결과</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:522px; x2:695px; y2:521px; "/>
- <caption id="caption15" style="left:10px; top:525px; width:315px; height:35px; ">점수 : 점 10년 후 위험도 : %</caption>
- <output id="output6" ref="/root/main/data/f2_list/item1" style="left:226px; top:532px; width:55px; height:19px; font-size:16pt; font-weight:bold; text-align:center; "/>
- <output id="output7" ref="/root/main/data/f2_list/item2" style="left:46px; top:532px; width:60px; height:19px; font-size:16pt; font-weight:bold; text-align:center; "/>
- <button id="button21" class="btn2_letter5" style="left:620px; top:0px; width:75px; height:19px; ">
- <caption>점수산출법</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SMAHB04400", "1","50", "50", "SMAHB04400", "", "", ""); //sysmenu:hidden
- ]]>
- </script>
- </button>
- <caption id="caption16" style="left:10px; top:555px; width:593px; height:20px; color:#ff0000; ">* 나이, 흡연여부, 총콜레스테롤 , HDL-콜레스테롤, 수축기 혈압이 모두 입력되어있어야 계산값이 정확합니다.</caption>
- </case>
- <case id="case3">
- <textarea id="textarea6" ref="/root/main/data/desa_list/item1" style="left:0px; top:504px; width:1149px; height:61px; "/>
- <datagrid id="grd_desa1_list" nodeset="/root/main/data/desa1_list" caption="항목^기준^결과^해당" colsep="^" colwidth="329, 146, 138, 77" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:1149px; height:405px; ">
- <col ref="item1"/>
- <col ref="item2"/>
- <col ref="item3"/>
- <col checkvalue="Y,N" ref="item6" type="checkbox"/>
- <col ref="item7" visibility="hidden"/>
- </datagrid>
- <caption id="caption20" class="cell_1" style="left:0px; top:5px; width:1144px; height:20px; ">■ 대사증후군 평가</caption>
- <caption id="caption21" style="left:0px; top:30px; width:1144px; height:40px; ">
- <![CDATA[대사증후군이랑 여러 가지 대사 상태를 복합적으로 고려한 종합적 평가 기준으로서, 비만 그중에서도 특히 복부비만과 신체활동의 저하로 인한 인슐린 저항성과 관런이 있습니다.
- 대사 증후군의 요소들은 서로 같이 나타나는 경우가 많으며, 대사 증후군의 경우 심혈관 질환의 위험성이 높아집니다. 여기서는 NCEP 기준을 적용하여 평가하였습니다.]]>
- </caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:480px; width:1144px; height:20px; ">[분석 결과]</caption>
- <button id="btn_desa_save" class="btn5_letter2" style="left:115px; top:5px; width:100px; height:20px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.removeNode("/root/updatelist/send_05300/reqdata/savedata");
- model.makeNode("/root/updatelist/send_05300/reqdata/savedata");
-
- model.makeValue("/root/updatelist/send_05300/reqdata/savedata/desa1_list", grd_desa1_list.getUpdateData());
- model.makeNode("/root/updatelist/send_05300/reqdata/savedata/patinfo");
- model.copyNode("/root/updatelist/send_05300/reqdata/savedata/patinfo" , "/root/temp");
- submit("TXAHB05307",false);
- button1.dispatch("onclick");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="button6" class="btn_sw" group="tab" style="left:120px; top:4px; width:135px; height:22px; ">
- <caption>Framingham score</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'fs');
- ]]>
- </script>
- </button>
- <button id="button7" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:120px; height:22px; ">
- <caption>심혈관질환위험도</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'cmt');
- ]]>
- </script>
- </button>
- <button id="button8" class="btn_sw" group="tab" style="left:255px; top:4px; width:135px; height:22px; ">
- <caption>대사증후군 평가</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/tmp/tabflag",'desa');
- ]]>
- </script>
- </button>
- </case>
- </switch>
- </group>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- //F7 저장 단축키
- if(event.keyCode == 118) {
- if(grd_acptlst.row < 0) {
- messageBox("대기자를","C002");
- }else {
- save.dispatch("DOMActivate");
- }
- }
- //F9 다음 사람 단축키
- if(event.keyCode == 120) {
- if(grd_acptlst.row < 0) {
- grd_acptlst.row = 1;
- grd_acptlst.dispatch("onclick");
- }else if(grd_acptlst.row == grd_acptlst.rows -1) {
- messageBox("다음 대기자가","I004");
- return;
- }else {
- grd_acptlst.row = grd_acptlst.row + 1;
- grd_acptlst.dispatch("onclick");
- }
- }
-
- //F10 다음 검사 단축키
- if(event.keyCode == 121) {
- if(grd_rsltlst.row < 0) {
- grd_rsltlst.row = 1;
- }else if(grd_rsltlst.row == grd_rsltlst.rows - 1){
- messageBox("다음 검사내역이","I004");
- }else {
- grd_rsltlst.row = grd_rsltlst.row + 1;
- }
-
- if(!grd_rsltlst.isReadOnly(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"))) {
- grd_rsltlst.editCell();
- }
- }
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|